import { createApp } from 'vue'
import 'amfe-flexible'
// import './base.less';
import App from './App.vue'
import router from './router/index';
// import { createPinia } from 'pinia';
import pinia from '@/store';
// import vant from 'vant'
import dayjs from "dayjs";
// import "dayjs/locale/zh-cn";
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import options from "@/common";
import directive from  '@/utils/directive'
// import {  ConfigProvider} from "ant-design-vue";
// import 'vant/lib/index.css';

// const piniaAll = createPinia();
// piniaAll.use(piniaPersist);
dayjs.locale("zh-cn");
const app = createApp(App);
app.config.globalProperties.$OPTIONS = options;
app.use(router).use(Antd).use(directive).use(pinia).mount('#app')
